.search-pannel-wrapper {
    position: relative;
}

.search-panel {
    position: absolute;
    z-index: 100;
    width: 100%;
    max-height: 620px;
    /* overflow-y: auto; */
    background: var(--bg1);
    border: 1px solid var(--line_regular);
    border-top: none;
    border-radius: 0 0 8px 8px;
    padding: 13px 0 16px;
    -webkit-font-smoothing: antialiased;
}
.history {
    max-width: 494px;
}

.history .header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
}

.history .header .title {
    height: 24px;
    font-size: 16px;
    line-height: 24px;
    font-family: PingFang SC,HarmonyOS_Medium,Helvetica Neue,Microsoft YaHei,sans-serif;
    font-weight: 500;
}

.history .header .clear {
    font-size: 12px;
    line-height: 15px;
    height: 15px;
    color: var(--text3);
    cursor: pointer;
}

.history .histories-wrap {
    max-height: 92px;
    padding: 0 16px;
    overflow: hidden;
}

.histories-wrap .histories {
    display: flex;
    flex-wrap: wrap;
    margin-top: 12px;
    margin-right: -10px;
    margin-bottom: 4px;
}

.histories .history-item {
    position: relative;
    box-sizing: border-box;
    height: 30px;
    padding: 7px 10px 8px;
    font-size: 12px;
    line-height: 15px;
    background: var(--graph_bg_thin);
    border-radius: 4px;
    margin-right: 10px;
    margin-bottom: 10px;
    cursor: pointer;
}

.history-item .history-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 96px;
}

.search-panel .suggestions {
    margin-top: -6px;
    margin-bottom: -6px;
}

.search-panel .suggest-item {
    height: 32px;
    display: block;
    line-height: 32px;
    font-size: 14px;
    position: relative;
    text-align: left;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    cursor: pointer;
    padding: 0 16px;
    margin-bottom: 4px;
}

.suggest-item .suggest-high-light {
    color: #f25d8e;
    font-style: normal;
}

.suggest-item:hover {
    outline: none;
    background: var(--graph_bg_thick);
}